<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{propiedades.CreateSacc0004Title}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{propiedades.CreateSacc0004Label_fechaalta}" for="fechaalta" />
                    <h:inputText id="fechaalta" value="#{sacc0004Controller.selected.fechaalta}" title="#{propiedades.CreateSacc0004Title_fechaalta}" required="true" requiredMessage="#{propiedades.CreateSacc0004RequiredMessage_fechaalta}">
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputLabel value="#{propiedades.CreateSacc0004Label_sacc0003}" for="sacc0003" />
                    <h:selectOneMenu id="sacc0003" value="#{sacc0004Controller.selected.sacc0003}" title="#{propiedades.CreateSacc0004Title_sacc0003}" required="true" requiredMessage="#{propiedades.CreateSacc0004RequiredMessage_sacc0003}">
                        <f:selectItems value="#{sacc0003Controller.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{propiedades.CreateSacc0004Label_sacc0002}" for="sacc0002" />
                    <h:selectOneMenu id="sacc0002" value="#{sacc0004Controller.selected.sacc0002}" title="#{propiedades.CreateSacc0004Title_sacc0002}" required="true" requiredMessage="#{propiedades.CreateSacc0004RequiredMessage_sacc0002}">
                        <f:selectItems value="#{sacc0002Controller.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{sacc0004Controller.create}" value="#{propiedades.CreateSacc0004SaveLink}" />
                <br />
                <br />
                <h:commandLink action="#{sacc0004Controller.prepareList}" value="#{propiedades.CreateSacc0004ShowAllLink}" immediate="true"/>
                <br />
                <br />
                <h:link outcome="/index" value="#{propiedades.CreateSacc0004IndexLink}"/>
            </h:form>
        </ui:define>
    </ui:composition>

</html>
